import request from '@/utils/request'

// 查询新对账单列表
export function listSyAccountStatement(query) {
  return request({
    url: '/module/syAccountStatement/list',
    method: 'get',
    params: query
  })
}

// 查询新对账单详细
export function getSyAccountStatement(id) {
  return request({
    url: '/module/syAccountStatement/' + id,
    method: 'get'
  })
}

// 新增新对账单
export function addSyAccountStatement(data) {
  return request({
    url: '/module/syAccountStatement',
    method: 'post',
    data: data
  })
}

// 修改新对账单
export function updateSyAccountStatement(data) {
  return request({
    url: '/module/syAccountStatement',
    method: 'put',
    data: data
  })
}

// 删除新对账单
export function delSyAccountStatement(id) {
  return request({
    url: '/module/syAccountStatement/' + id,
    method: 'delete'
  })
}
